#pragma once

using namespace std;

#ifndef Material_H
#define Material_H
	
	#include "stdafx.h"
	#include <GL/glew.h>
	#include <string>
	#include "myTexture.h"
	#include "ShaderManager.h"

	class Material
	{
		public:
			GLfloat material_Ka[4];
			GLfloat material_Kd[4];
			GLfloat material_Ks[4]; 
			GLfloat material_Sh;

			myTexture *texture;
			myTexture *bump;
			myTexture *cube;

			std::string name;

			Material(void);
			Material(GLfloat Ka[4],GLfloat Kd[4],GLfloat Ks[4],GLfloat Sh);
			~Material(void);

			void init(GLfloat Ka[4],GLfloat Kd[4],GLfloat Ks[4],GLfloat Sh);
			void initKa(GLfloat ka[4]);
			void initKd(GLfloat Kd[4]);
			void initKs(GLfloat Ks[4]);
			void initSh(GLfloat Sh);
			void use();
			void unuse();
	};

#endif

